//
//  UIButton+Extension.swift
//  SinaWebo
//
//  Created by 陶建 on 16/4/5.
//  Copyright © 2016年 taoJ. All rights reserved.
//

import UIKit

extension UIButton {
//    convenience init(title: String, normalImageName: String, highlightedImageName: String, target: AnyObject?, action: Selector, forControlEvents: UIControlEvents) {
//        let btn = UIButton()
//        btn.setTitle("title", forState: .Normal)
//        btn.setImage(UIImage(named: normalImageName), forState: .Normal)
//        btn.setImage(UIImage(named: highlightedImageName), forState: .Highlighted)
//        btn.sizeToFit()
//        btn.addTarget(target, action: action, forControlEvents: forControlEvents)
//        self.init(frame: btn.frame)
//    }
}